You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.ArcTan2 Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.ArcTan2 Method

Inverse tangens of Y/X.

Syntax
C#
Visual Basic
public static double ArcTan2([In] double Y, [In] double X);

the inverse tangens of Y/X, and returns an angle in the correct quadrant.

The return value will fall in the closed interval [-PI,PI] radians. 

Note ArcTan is calculated as ArcTan2(1, X).

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!